package stu.kurs.services;

import java.util.List;

import javax.ejb.Remote;

import stu.kurs.domain.Category;
import stu.kurs.exceptions.ServiceException;


@Remote
public interface ICategoryService extends IGenericService<Category> {
	
	public void add(String name, String description) throws ServiceException;

	public void update(Integer id, String name, String description) throws ServiceException;
	
	public void delete(Integer id) throws ServiceException;
	
	public List<Category> getAllCategory()	throws ServiceException;
	

}
